package com.be.beadmin.basicData.entity;


import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Getter
@Setter
@Entity
@Table(name="T_BD_MATERIAL")
public class MaterialInfo extends BaseEntity{

    @Column(name = "MaterialCode",columnDefinition = "VARCHAR(50) COMMENT '物料编码' ")
    private String materialCode;

    @Column(name = "MaterialName",columnDefinition = "VARCHAR(50) COMMENT '物料名称' ")
    private String materialName;

    @Column(name = "MaterialSpec",columnDefinition = "VARCHAR(50) COMMENT '规格型号' ")
    private String materialSpec;

    @Column(name = "Para",columnDefinition = "VARCHAR(50) COMMENT '参数' ")
    private String para;

    @Column(name = "Unit",columnDefinition = "VARCHAR(50) COMMENT '单位' ")
    private String unit;

    @Column(name = "Category",columnDefinition = "VARCHAR(50) COMMENT '物料分类' ")
    private String category;

    @Column(name = "BarCode",columnDefinition = "VARCHAR(100) COMMENT '条码' ")
    private String barCode;

    @Column(name = "Brand",columnDefinition = "VARCHAR(50) COMMENT '品牌' ")
    private String brand;

    @Column(name = "Effective", columnDefinition = "bit COMMENT '是否有效:1-有效,0-无效' ")
    private Integer effective;

    @Column(name = "MaterialProperty", columnDefinition = "VARCHAR(50) COMMENT '属性名称' ")
    private String materialProperty;


}
